
class localItem
{
public:
	localItem();
	~localItem();

	int init(int,stringw,stringc);
	
	int getId();
	stringw getText();
	stringc getPath();
private:
	int id;
	stringw* text;
	stringc* path;
};


class local : public base
{
public:
	local();
	~local();

	int init(int,coeur*,IXMLReader*);
	int update();
	int close();

	localItem* getObservationMesh(int);
	localItem* getObservationItem(int);
	localItem* getCombinaison();

	stringw getCaption();

	bool OnEvent(const SEvent&);
private:
	int addObservationMesh(int,stringw,stringc);
	int addObservationItem(int,stringw,stringc);
	int addCombinaison(int,stringw,stringc);
	
	string<localItem*>* observationMesh;
	string<localItem*>* observationItem;
	string<localItem*>* combinaison;

	stringw caption;
};

